﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using KhuyenMaiVang.DAL;
using System.Web.Security;

namespace KhuyenMaiVang.Controllers
{
    public class PartialController : Controller
    {
        public ActionResult Index()
        {
            return View();
        }
        //
        // GET: /Partial/
        private KhuyenMaiVangDataContext db = new KhuyenMaiVangDataContext();
        [ChildActionOnly]
        public ActionResult EmailBlock()
        {
            var lstCity = db.Cities.ToList();
            ViewBag.CityID = new SelectList(db.Cities, "ID", "Name");
            return PartialView();
        }
    }
}
